package org.dromara.system.pojo.qo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import org.dromara.common.web.core.domain.BaseQO;

import java.io.Serial;
import java.time.LocalDateTime;

/**
 * 菜单权限表 实体类。
 *
  * @author mkj
  * @since 2024-07-21
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(description = "菜单权限表")
public class SysMenuQO extends BaseQO {

    @Serial
    private static final long serialVersionUID = 1L;


    @Schema(description = "菜单ID")
    private Long id;

    @Schema(description = "父菜单ID")
    private Long parentId;

    @Schema(description = "菜单名称")
    private String menuName;

    @Schema(description = "菜单类型（M目录 C菜单 F按钮）")
    private String menuType;

    @Schema(description = "路由地址")
    private String routeUri;

    @Schema(description = "组件路径")
    private String componentPath;

    @Schema(description = "权限标识")
    private String perms;

    @Schema(description = "路由参数")
    private String queryParam;

    @Schema(description = "菜单图标")
    private String icon;

    @Schema(description = "是否为外链（Y是 N否）")
    private String isFrame;

    @Schema(description = "是否缓存（Y缓存 N不缓存）")
    private String isKeepAlive;

    @Schema(description = "是否显示（Y显示 N隐藏）")
    private String isVisible;

    @Schema(description = "状态（1正常 0停用）")
    private Integer status;

    @Schema(description = "显示顺序")
    private Integer orderNum;

    @Schema(description = "备注")
    private String remark;
}
